package com.huanxing.cloud.mall.api.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author: lijx
 * @date: 2023/4/24 11:57
 **/
public class OrderNotifyEvent extends ApplicationEvent {

	@Getter
	private final String orderId;

	@Getter
	private final String userId;

	@Getter
	private final String type;

	public OrderNotifyEvent(Object source, String orderId, String userId, String type) {
		super(source);
		this.orderId = orderId;
		this.userId = userId;
		this.type = type;
	}

}
